home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / Help / locale / help / english / sys / search.doc < prev    next >
Encoding:
Text File  |  2000-10-06  |  1.5 KB  |  64 lines

  1. SEARCH
  2.  
  3. Looks for the specified text string in the files of the specified
  4. directories.
  5.  
  6. Format
  7.  
  8. SEARCH [FROM] {<name | pattern>} [SEARCH] <string | pattern> [ALL] [NONUM]
  9. [QUIET] [QUICK] [FILE] [PATTERN]
  10.  
  11. Template
  12.  
  13. FROM/M,SEARCH/A,ALL/S,NONUM/S,QUIET/S,QUICK/S,FILE/S,PATTERN/S
  14.  
  15. Location
  16.  
  17. C:
  18.  
  19. SEARCH looks through all the files in the FROM directory for the string given
  20. in the SEARCH string. (The FROM and SEARCH keywords are optional.) If the ALL
  21. switch is given, SEARCH also looks through all the subdirectories of the FROM
  22. directory. SEARCH displays the name of the file being searched and any line
  23. that contains the text sought. You must place quotation marks around any
  24. search text containing a space. The search is not case-sensitive.
  25.  
  26. The options are:
  27.  
  28. NONUM
  29.  
  30. Line numbers are not printed with the strings.
  31.  
  32. QUIET
  33.  
  34. Searches quietly; file names being searched are not displayed.
  35.  
  36. QUICK
  37.  
  38. Use a more compact output format.
  39.  
  40. FILE
  41.  
  42. Looks for a file by the specified name, rather than for a string in the file.
  43.  
  44. PATTERN
  45.  
  46. Uses pattern matching to search for the string.
  47.  
  48. SEARCH leaves a 0 in the condition flag if the object is found, and a 5
  49. (WARN) otherwise. To abandon the search of the current file and continue to
  50. the next file, if any, press Ctrl+D. SEARCH is aborted when Ctrl+C is
  51. pressed.
  52.  
  53. Examples
  54.  
  55. 1> SEARCH DEVS: DOSDrivers globvec
  56. DOSDrivers (dir)
  57. PIPE..
  58. 6 GlobVec =-1
  59. PIPE.info
  60.  
  61. 1> SEARCH utilities #?.info FILE
  62. Workbench:Utilities/Clock.info
  63. Workbench:Utilities/MultiView.info
  64.